﻿using System;

namespace Public_Defined
{
    public class Login_Defined
    {
        public struct Server_Info
        {
            UInt16 server_id;
            string server_ip;
            uint server_port;
            uint server_load;

            public ushort Server_id { get => server_id; set => server_id = value; }
            public string Server_ip { get => server_ip; set => server_ip = value; }
            public uint Server_port { get => server_port; set => server_port = value; }
            public uint Server_load { get => server_load; set => server_load = value; }
        }

        public struct Msg_Struct<T>
        {
            int code;
            string msg;
            T data;

            public string Msg { get => msg; set => msg = value; }
            public T Data { get => data; set => data = value; }
            public int Code { get => code; set => code = value; }
        }
        
    }
}
